package com.helloworld.mapper;

import com.helloworld.pojo.User_Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface User_RoleMapper {
    List<User_Role> queryUser_RoleList(String nameLike);

    User_Role queryUser_RoleById(Integer id);

    int addUser_Role(@Param("t")User_Role user_role);

    int updateUser_Role(User_Role user_role);

    int deleteUser_Role(Integer id);
}
